package cn.icanci.loopstack.ddk.common.socket;

/**
 * TODO 发布的处理
 * 
 * @author icanci
 * @since 1.0 Created in 2023/01/06 22:41
 */
public interface UriConstant {
    /**
     * 服务端调用Server端
     */
    interface ToClient {
        /** 心跳   */
        String HEARTBEAT = "/ddk/register/heartbeat";
        /** 刷新 */
        String REFRESH   = "/ddk/register/refresh";
        /** 方法调用 */
        String INVOKE    = "/ddk/register/invoke";
    }

    /**
     * 客户端调用Server
     */
    interface ToServer {
        /** 注册 */
        String REGISTER = "/ddk/register/doRegister";
        /** 初始化加载数据 包含仓储的refresh和方法的调用配置 */
        String LOAD     = "/ddk/register/load";
    }
}
